<template>
  <Tabbar v-if="route.meta.showTabNav" v-model="active">
    <TabbarItem icon="home-o">标签</TabbarItem>
    <TabbarItem icon="search">标签</TabbarItem>
    <TabbarItem icon="friends-o">标签</TabbarItem>
    <TabbarItem icon="setting-o">标签</TabbarItem>
  </Tabbar>
</template>
<script setup>
import { Tabbar, TabbarItem } from 'vant';
import { ref } from 'vue';
import { useRoute } from 'vue-router'

const route = useRoute();
const active = ref(0);
</script>